package com.fucking.great.context.engine;

import java.util.Collection;
import java.util.Map;

public interface Engine {
    Object engine(String scriptStr, Map<String, Object> variable);

    Object engine(String scriptStr, Map<String, Object> variable, String... importStr);

    Object engine(Collection<?> importStr, String scriptStr, Map<String, Object> variable);

    Object engine(String cacheKey, Collection<?> importStr, String scriptStr, Map<String, Object> variable);

    Object engine(String cacheKey, String scriptStr, Map<String, Object> variable, String... importStr);

    Object engine(String cacheKey, String scriptStr, Map<String, Object> variable);

    Object runEngine(String cacheKey, Map<String, Object> variable);
}
